package com.rtx.wms.std.so.bean;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.api.annotation.RtxDynamicsClass;
import com.rtx.api.annotation.RtxRequestIgnore;
import com.rtx.api.annotation.RtxSTDRequest;
import com.rtx.wms.std.common.bean.Codelkup;

import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author wq
 * @since 2023-04-26
 */
@RtxDynamicsClass(name = "出库单API中间表",linkclass = "com.rtx.wms.std.so.bean.Orders")
@RtxSTDRequest(name = "wms接收出库单报文")
@Data
@TableName("api_orders")
@ApiModel(value = "ApiOrders对象", description = "")
public class ApiOrders {
	
	@TableField(exist = false)
	private String appkey;

    @TableId(value = "SERIALKEY", type = IdType.AUTO)
    private Integer serialkey;

    private String storerkey;

    private String whseid;

    private String externorderkey;

    private String externalorderkey2;

    private String type;

    private Date orderdate;

    private String totalorderlines;

    private String rtxpmtterm;

    private String totalqty;

    private String rtxshippart;

    private String consigneekey;

    private String tradingpartner;

    private String rtxsalesp;

    private String rtxshopname;

    private String rtxtxno;

    private String rtxusername;

    private String rtxbuyermsg;

    private String cContact1;

    private String cPhone1;

    private String cPhone2;

    private String cEmail1;

    private String cCountry;

    private String cState;

    private String cCity;

    private String rtxcCounty;

    private String cAddress1;

    private String cZip;

    private String carriercode;

    private String rtxexpresskey;

    private String rtxexpresskey2;

    private String notes;

    private String rtxexternaltype;

    private String rtxpredistribution;

    private String rtxlgort;

    private LocalDateTime rtxpaydate;

    private String priority;

    private String rtxbsart;

    private String msg;

    private String batchid;

    private LocalDateTime adddate;

    private String addwho;

    private LocalDateTime editdate;

    private String editwho;

    private String default01;

    private String default02;

    private String default03;

    private String default04;

    private String default05;

    private String default06;

    private String default07;

    private String default08;

    private String default09;

    private String default10;

    private String sourcetype;

    private String rtxfromstorerkey;

    private String rtxtostorerkey;

    private String rtxdisorder;

    private String remeberwho;

    private String area;

    private String rtxpackagecentercode;

    private String rtxpackagecentername;

    private String rtxexpressthrcode;

    private String printdate;

    private String rtxapisourcetype;

    private String rtxsourceplatformname;

    private String source;

    private String rtxresetexpress;

    private String rtxtransportproducts;

    private String rtxqmtype;

    private String orderkey;

    private String requestedshipdate;

    private String cCompany;

    private String rtxnotpicknumber;

    private String carriername;

    private String transportationmode;

    private String pmtterm;

    private String rtxmonthlyaccount;

    private String rtxdelmode;

    private String rtxtotalamt;

    private String status;

    private String sellermessage;

    private String ediflag;

    private String edimsg;

    private Integer rtxqueue;

    private String rtxqmmethod;

    private String qmcustomerid;
    
    @TableField(exist = false)
    private String fsrcstocklocid;
    @TableField(exist = false)
    private String fdeststocklocid;
    
    private String rtxpofromhourse;
    private String oaid;
    private String tid;
    private String printdata;
    
    @TableField(exist = false)
	private String jitBrandCode;//品牌编号
    @TableField(exist = false)
	private String jitWarehouseCode;//唯品会仓库编号
    @TableField(exist = false)
	private String jitWarehouseName;//品会仓库名称
    @TableField(exist = false)
	private String jitPoNo;//PO单号
    @TableField(exist = false)
	private String jitStorageNo;//出仓单号 
    @TableField(exist = false)
	private String jitDeliveryMethod;//配送方式：汽运/空运
    @TableField(exist = false)
	private String jitArrivalTime;//要货时间、预计到货时间
    
	private String trademask;

    @TableField(exist = false)
    private List<ApiOrderdetail> details;
    
    @TableField(exist = false)
    private String xbsjitxflag;//暇步士是重新获取单号标记 true需要重新获取
    @TableField(exist = false)
    private String xbsvendorid;
    @TableField(exist = false)
    private String xbssourceordercode;
    private String rtxbiznat;
    @TableField(exist = false)
    private String rtxpurgroup;
    @TableField(exist = false)
    private String rtxsalesgroup;
    @TableField(value = "rtxdept_id")
    private String rtxdept_id;
    private String rtxshipstorerkey;
    
    @TableField(exist = false)
    private String externorderkey2;
    
    
    private String rtxexternorderkey2;
    private String rtxerptype;
    private String toexamine;
    private String rtxlldp;
    private String totalgrosswgt;
    private String totalcube;
    private String rtxwerks;
    private String rtxuseto;
    private String rtxworkshop;
    private String rtxiscontainer;
    
    private String rtxdemandtype;
    private String rtxmakewho;
    private String rtxdemanddate;
    private String rtxxianbie;
    private String rtxneima;
    
    @TableField(exist = false)
    @RtxRequestIgnore
    private Codelkup typeConfig;
}
